package com.car.pojo;

import lombok.Data;

public class GPS {

    /** 数据位置 */
    private Long index;

    /** 上报时间 */

    private String reportTime;
    /** 更新时间 */
    private String createTime;
    /** 车辆vin码 */

    private String vin;

    /** 车辆速度 */
    private String speed;

    /** 车辆里程 */
    private String mileage;

    /** 海拔 */
    private String altitude;

    /** 维度 */
    private String latitude;

    /** 经度 */

    private String longitude;

    /** 累计里程 */

    private String accumulatedMileage;

    /** 续航里程 */

    private String lifeMileage;

    /** 电压 */

    private String voltage;

    /** 电流 */

    private String current;

    /** SOC */

    private String soce;

    public void setIndex(Long index)
    {
        this.index = index;
    }

    public Long getIndex()
    {
        return index;
    }
    public void setReportTime(String reportTime)
    {
        this.reportTime = reportTime;
    }

    public String getReportTime()
    {
        return reportTime;
    }
    public void setVin(String vin)
    {
        this.vin = vin;
    }

    public String getVin()
    {
        return vin;
    }
    public void setSpeed(String speed)
    {
        this.speed = speed;
    }

    public String getSpeed()
    {
        return speed;
    }
    public void setMileage(String mileage)
    {
        this.mileage = mileage;
    }

    public String getMileage()
    {
        return mileage;
    }
    public void setAltitude(String altitude)
    {
        this.altitude = altitude;
    }

    public String getAltitude()
    {
        return altitude;
    }
    public void setLatitude(String latitude)
    {
        this.latitude = latitude;
    }

    public String getLatitude()
    {
        return latitude;
    }
    public void setLongitude(String longitude)
    {
        this.longitude = longitude;
    }

    public String getLongitude()
    {
        return longitude;
    }
    public void setAccumulatedMileage(String accumulatedMileage)
    {
        this.accumulatedMileage = accumulatedMileage;
    }

    public String getAccumulatedMileage()
    {
        return accumulatedMileage;
    }
    public void setLifeMileage(String lifeMileage)
    {
        this.lifeMileage = lifeMileage;
    }

    public String getLifeMileage()
    {
        return lifeMileage;
    }
    public void setVoltage(String voltage)
    {
        this.voltage = voltage;
    }

    public String getVoltage()
    {
        return voltage;
    }
    public void setCurrent(String current)
    {
        this.current = current;
    }

    public String getCurrent()
    {
        return current;
    }
    public void setSoce(String soce)
    {
        this.soce = soce;
    }

    public String getSoce()
    {
        return soce;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        return "GPS{" +
                "index=" + index +
                ", reportTime='" + reportTime + '\'' +
                ", createTime='" + createTime + '\'' +
                ", vin='" + vin + '\'' +
                ", speed='" + speed + '\'' +
                ", mileage='" + mileage + '\'' +
                ", altitude='" + altitude + '\'' +
                ", latitude='" + latitude + '\'' +
                ", longitude='" + longitude + '\'' +
                ", accumulatedMileage='" + accumulatedMileage + '\'' +
                ", lifeMileage='" + lifeMileage + '\'' +
                ", voltage='" + voltage + '\'' +
                ", current='" + current + '\'' +
                ", soce='" + soce + '\'' +
                '}';
    }

}
